package com.ruoyi.paint.admin.domain.ImExportDto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.paint.admin.annotation.ExcelImageProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 汽车信息对象 tq_cars
 * 
 * @author itchen
 * @date 2024-07-01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TqCarsImport implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    /** 汽车ID */
    private Long id;

    /** 汽车品牌 */
    @ExcelProperty(value = "汽车品牌")
    private String brand;

    /** 车型 */
    @ExcelProperty(value = "车型")
    private String model;

    /** 颜色名称 */
    @ExcelProperty(value = "颜色名称")
    private String colorName;

    /** 年款 */
    @ExcelProperty(value = "年款")
    private String year;

    /** 油漆品牌 */
    @ExcelProperty(value = "油漆品牌")
    private String paintBrand;

    /** 图层类型 */
    @ExcelProperty(value = "图层类型")
    private String layerType;

    /** 汽车图片链接 */
    @ExcelProperty(value= "汽车图片")
    @Excel(name = "汽车图片",cellType = Excel.ColumnType.IMAGE)
    @ExcelImageProperty(index = 6)
    private String imageUrl;
    @ExcelProperty(value= "备注")
    private String remark;


}
